#include <cstdio>

typedef unsigned long long int uint;


int main ()
{
	uint a, b;

	while (scanf ("%lld %lld", &a, &b) == 2)
	{
		printf("%lld\n", a > b ? a - b : b - a);
	}

	return 0;
}